package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jackrabbit.j2ee.RepositoryAccessServlet;
import javax.jcr.Repository;

public final class welcome_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;



Repository rep;
try {
    rep = RepositoryAccessServlet.getRepository(pageContext.getServletContext());
} catch (Throwable e) {
    
      if (true) {
        _jspx_page_context.forward("bootstrap/missing.jsp");
        return;
      }

}

request.setAttribute("title", "Apache Jackrabbit JCR Server");

      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp", out, false);
      out.write("\n");
      out.write("<p>\n");
      out.write("  Welcome to the Apache Jackrabbit JCR Server. This web application\n");
      out.write("  contains a JCR content repository and makes it available to clients\n");
      out.write("  through WebDAV and other means.\n");
      out.write("</p>\n");
      out.write("<p>\n");
      out.write("  The following WebDAV view is provided for accessing the\n");
      out.write("  content in the JCR content repository.\n");
      out.write("</p>\n");
      out.write("<ul>\n");
      out.write("  <li><a href=\"webdav-simple.jsp\">Standard WebDAV</a></li>\n");
      out.write("</ul>\n");
      out.write("<p>\n");
      out.write("  In addition the JCR Server project provides means for JCR remoting over HTTP:\n");
      out.write("</p>\n");
      out.write("<ul>\n");
      out.write("  <li><a href=\"webdav-jcr.jsp\">JCR remoting over WebDAV</a></li>\n");
      out.write("  <li><a href=\"webdav-remoting.jsp\">JCR remoting over WebDAV (including Batch Read/Write)</a></li>\n");
      out.write("</ul>\n");
      out.write("<p>\n");
      out.write("  Clients can also access the repository using the JCR API. Both local\n");
      out.write("  and remote access is supported.\n");
      out.write("</p>\n");
      out.write("<ul>\n");
      out.write("  <li><a href=\"remote.jsp\">Remote repository access</a></li>\n");
      out.write("  <li><a href=\"local.jsp\">Local repository access</a></li>\n");
      out.write("</ul>\n");
      out.write("<p>\n");
      out.write("  For more information, including copyright and licensing details, visit the\n");
      out.write("  <a href=\"about.jsp\">About Apache Jackrabbit</a> page.\n");
      out.write("</p>\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "footer.jsp", out, false);
      out.write('\n');
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
